Added Deselect function