Initial prototype of profiling functionality