adds carousel pattern