using subcountines with proper regions