Added if expressions and examples