implement find by scope