added a log statement