profiling class structure