removed sys.exit()