Copied code to findAll.