changed filteredarray1