solution to 'my first async io'