add slider and snake