Code runs on slave