moving ast into namespace ast