Some profiling to make this thing fast!