stroke ime new

@yxl no need to close previous PR. Update and review again.