Adding console debug output