Removed exception from main file