exit with 1 to indicate success