agregando try-catch everywhere