add log statement