temporary version. speed up version of eibz.