rename variable
extract body of refurbished_args loop
pull arch and Xarch into main case statement
preserve Xarch_ context when filtering args