added more loggin