code for varlist and let

added code for varlist and let