Psuedocoded findOne operation