use ew-profiling instead of local/temp implementation