Accidents are manageable as long as there is no human loss. During development of new system , failure happens. Very important thing is , this should not happen again. We can't compare HAL with Lockheed,Boing. Their budget,manpower,facilities are way ahead of HAL. So HAL should plan/execute things with available resources at the same time keeping in mind security concerns of a country and safety of pilots.