Basic locations function - in progress