adding trig and constants