Surrounded Regions code clean