Refactoring
Adding example