implement findOne method