added copyEqualToValue() and addBeforeGivenX()