now redirects stdout