Modify for cap log