created Location class