edit: changed Hero variable to Player
edit: changed Hero to Player