switched hw-demo to I/O interface