Create variables for table population