refactor code - intilize names for players