make tables work