completed basic profiler