debugging and more frequent loggin