Instead of having 4 different variables, you could use an array with 4 slots.