Offset starts at 0, the whole -1 stuff can be removed.