Added more code snippets for carousel