add some loggin