changing click to on