1. create a procedure that defines a pair (substitute worker) for every worker. Two workers can be only paired if they have the same job.