mention how I/O works