better if we call this function clickHandler