added value attribute to enum types