adding an equals comparison for the find method