Added profiling capabilities