cleaned up tables