moving writing to IO