use an id to identify player, to make classes more reusable