start implementing array of tables
more work towards array of tables