Added option for dummy variables