added iq to equals and hashcode methods