rewrite find method