modified log statement