added logginf for #3