change if clause