updated findAll method return type