midpoint edit