refactored all the multi selection tool