changed output fragment to raw form, and BFA transforms it to map with the frequencies