added getLocation dummy function