add `flag` object for comments