Add logging example
Replace "if ... then ... else ..." with "unless"