prefer if/else (not sure ternary is safe here)
prefer getSrName(region) to SRnames[region] (still dealing with ugly hack)
good enough for now. no need to use std algos (will rewrite in py)
whitespace and newlines