adding a trig option also