Using array in a non-shared way