added some equals methods