introduced likely_res typedef