added output with modified alignment matrix