add method and field rename but has some bug