prepare for slides