added isPastOffset