added table graphic and directive