change the index, add the huawei coding style