added location method