Add main snippet