inherits from flag