why doesn't trig work?