change valentia Group from hashtable to Enum