support for multiple selection was rewritten