modified ex 2 - add until loop