merged from vectorParser to get Dice class