Refactored find method.