adding trig