Wrote slave program