modified offloading part