Implementation of the location