comment out_console and sampling