swapped erroneous return 1 for exit 1