Reducing number of slides