set_impulses() with working itoa() function to display number of impulses in current stage