changed target to match from list to parameter listOfList