added Player class: