adding \ddots command