Debug loggin
Added deep logging