Slide refactoring