add all() method to orm