remove log statement, add comments