Remove logging and add some explanations