add table references features
improve reference feature