add trend selection.