able to use current location as well as input location