implemented deselect