added variables to model