changing the way variables are inputted.