removed exclude regions code