change slave to if (argc != 4)