changed debug output for readability