adding findAll() function