selectAll and deselectAll implemented