working IO for game types