removing unneeded array