add def.snippet