edited log statement