添加sequence，改进range