improved offload api