What I am trying to achieve here is to use unique names of players to accumulate the scores of all games by individual and then print the score 
average by dividing the accumulated score by individual gameCounts. Can you help?

```
package bowling_score_tracker;

import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Iterator;

public class Bowling_score_tracker {

        String PlayerName;
        int gameCounts;
        int score;
        Date date;
        Bowling_score_tracker(String PlayerName, int gameCounts, int score, Date date){
            this.PlayerName=PlayerName;
            this.gameCounts=gameCounts;
            this.score=score;
            this.date=date;

        }

public static void main(String args[]) throws ParseException{

Bowling_score_tracker s1=new Bowling_score_tracker("Brown",1,98,new java.util.Date(System.currentTimeMillis()));
Bowling_score_tracker s2=new Bowling_score_tracker("Tony",1,99,new java.util.Date(System.currentTimeMillis()));
Bowling_score_tracker s3=new Bowling_score_tracker("Anne",1,100,new java.util.Date(System.currentTimeMillis()));
Bowling_score_tracker s4=new Bowling_score_tracker("Tony",2,105,new java.util.Date(System.currentTimeMillis()));
Bowling_score_tracker s5=new Bowling_score_tracker("Tony",3,106,new java.util.Date(System.currentTimeMillis()));

ArrayList<Bowling_score_tracker> al=new ArrayList<Bowling_score_tracker>();

al.add(s1);

al.add(s2);

al.add(s3);

al.add(s4);

al.add(s5);

int sum = 0;

Iterator itr=al.iterator();

while(itr.hasNext()){

```

I think I need to include the logic to sum all scores by individual and then devide by gameCounts but not sure how to construct here.

```
/*sum += itr.next();
average = sum / gameCounts*/

Bowling_score_tracker st=(Bowling_score_tracker)itr.next();

System.out.println(st.PlayerName+" "+st.gameCounts+" "+st.score+" "+st.date);

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

java.util.Date yourDate = sdf.parse("2018-08-29");

    }
  }
}

```