did the same thing for AddDiagonals