got rid of double records
all records objects put into an array