changes in create_locations