Added extra debug log