Implementing the Location struct