changes in the if model