Added: for (var i = 0; i < numOfPeople ; i++) {