changing click to trigger