remove dependence to transformers