add caption kwarg to table macro