Added comparison operator to transform