first try at capturing stdout
wip: exceptions