forgot to define getLocation()