change main snippet