flag as generated