step 4: creating a find class method to make controller even smoother