ugly first version, lerning I/O control