partial snippet