add feature select function