return deferred for locate function