combine tables and graphs