Adding missing part
Modifing debug message.