equals method should be looked over.