Add example for if comparison