removed superfluous profiling stuff