now constructors are also compared