a delay program with feedback to the user