adding ber_raw_generator