table widget quickly rewritten