Added missing try statement