new modulation mode + coding style changes