more thurough loggin