improved debug output 1