adding AttributeFlag class