merging of slides, shortening and refactoring