added error checks for empty game names