An investigation of selective ternary thiol-Michael reactions