Added try-catch
Typo