debug output added
debug output added