implement findOne and findAll