(1)v6: modify into object oriented. (2)v6:deal with AS1 AS1 * * AS1