adding slave program