location method