Adding some profiling to see slowness