add snippet ife