this time we used While instead of each