so so on click functionality