Ugly but working test version with real IO card attached.