Took out equals method implementation since it was affecting search