change equals to override equals of Object