updated the console example file