add game functions