remove sys and sys.exit() for now