Sync function is now async, :)