Implemented equals and add