Update to if/else if statements

updated the if else if statements to reflect the new arrays being used
in the code, lines 86-91