updated. Added printDebug support
printDebug added