location manager is partly implemented