simple codeconverter for code offloading