with interrupts and command line