modified debug output