added changes to the carousel file