flow control for the commandline