prep work for creating variable-sized tables