removed erroneous debug use of exit;