Initial code for location fields