new location controller logic