CSM is now a Mealy machine implementation