renames tailEx -> ad