Modified the clic snippet