removed tables variable