add gpm and xpm methods to the player