tidying output
generifying the profiler