start of variable parsing