removed unneeded array copy