fixed Player methods and made variables public