added additional logic for base game