add main method to profiler