Working on making trig work