why are the variables needed? Can't you create dummies based on the dimensions?