iimplemented distributed scanning process