maybe made some pregoess? Seeing an off by 1error