added rudimentary stdout display