making switch read throughout LONG if/else sequence