basic input for location