simple io prototype