new builtin_if function