starting ast refinement