basic I/O loop completed