Some geolocation functions added