insert snippet interface used