moved process type to worker