make table work