Replace if with or