added xIterate example