add a log statement