market keeps track of players
cookie functions