add structs comparison with method overriding