8.8 trigonometry working perfectly