added (basic) enum parsing