IO works -very crude