location to controller