rafactoring
refactoring : abolish redundant method by means of keep consistence of buffer using