tweaked pattern layout for console