another off-by-one