-- trig serialization adapted to more compact and condensed form