add snippet for const