Added Region type and NextLevel function