Location functionality finished