adapted for yi