moving prompt.start() so that it is more readable.