adding log statement