enum helper for assigning values