Adding naive threading just to check perf