Refactoring the sheets