added diagonal in