overhauled version of ilProfiler