receiving coefficients in switch