working on tracking current user position; need to fix if/then conditions of function