the tutorial log addition