lifting as part of ast walk