Tying data to variables so as to not write lots of if statements

No idea what that is.