Added internal pulse generator