converted find method to static