started to add player functionality