tiny bit of work on player api functions