changes state array to hold numbers(an enum) instead of boolean