using stdout writing rather than console.log in dogoto