scratch work to figure out variable assignment