finished Aa matrix. continue..