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

Oh, you mean the code that we cannot see