trying to get the profiling working