remove offsetsExists method.