Input text continues from routines in loop