Adding slides on arrays