implemented location view