fixed to match changes in modulation functions