implemented location tracking feature