added some player functionallity