before while before dotcmd before function before break after while