partial work towards toplevel evaluation