added some player functionality