added new function getLocation