init worker