Added some player functions