cob_substitute after porting to hydro.