added finer grained profiling