running into a wall of trig