omplemented operator == in struct