implemented and tested worker upkeep