reset array at different point