[REFACTORING] reuse no duplicate code