Logging example added