use pos and neg intead of greater and less than