[wip] trig