implement object location query