adding in more loggin