change for constant to variable