Location API implemented