Fixed output to specs and a try/catch issue