add support for table-value functions