switched order of cs, math