change find all to where