player add functioned,