removing most Try-related code