Match over new expression

added matching for objects as well