switch instead of for loop