change if syntax