use set instead of tuple for the valid regions