added functions for pulse shaping