Added compareValue methods