added debug console