Fixed so that the program does not include the first argument as a friend