Created template for refactoring