james | reorganizing to accomodate keyboard interrupts