basic practise i/o is done