add three tables