updated index to use player class
merging
merging
index uses player obj
merging