every process intializes its own array