added table to dom output as well