changed variables for glm

predictor value only dependent on 1 variable now