The code for the slave nodes.