removing debugging prints and I/O linkup