Add missing 'do' loop ending