Removed profiling code