Updated if snippet for c.