final version of location server