basic pulse shaping working