Implement if expression