by qianjun;change range to __range;add loop.key,loop.value