convert to radians and fix order