add xtlang path iteration snippet