modify structure of slides