added hosts back to examples in reworkerfunc