add ast translation