parse args; close #2