Abstract table code