get_ragions use global vars