added getValue to enums