add define snippet