First draft of profiling class
functional prof class