using toRad instead of custom deg2Rad