profiling and mutable vec