xmile: start of getting list of referenced vars