Quick refactor, call it func, not async.