add location method to player