console output support

console output support