flaw with table, pre-refactoring