Added more loggin.