finished on selectfeatures branch; running with selection