Using for each loop
If can be switch