trying to make the trig work for WCA