player and globals classes