added table diagram