Should this be > 2? If there are only two variables and one of them is specified as x, then the other one has to be y.