support proper if syntax and variables