use criterion implementation of raw