Sets up table