did arithmetic for transpose