testing both tables