Move puts to main loop
Interrupt should always be quick as possible.