Log improvement and more explanations