added support for table labels