Using try-catch