odified player.c