add snippet for do