Changing hard coded value with right variable