removed premature exit call