add an interactive mode