working on variable parsing