added findAll function