Formatting and interrupt handling