1) collect variables to define 2) use set for =