Easier profiling using more functions