removed unneeded array entries