added findBy functions and limits