profiling and cost