Using pulse modulation