Programming the Location Object