added ability to process array size defined with enum element