added equals methods