almost there

@buildmaster 
the scope of orgnames is pretty broad, can you declare it here rather than in the containing scope (where it has no value)