refacture code