format yangzh's code