Location class work