added H3C function, uses -3 option