Added profiling option