adds new snippet