codegen: naive implementation of let; not working