add partial snippet