Need to add interrupts, loops