simplified simpleSweep with new .WriteInt32 function