Implemented find() function