Add first attempt of unnesting AD