both tables working