it is the professionalism of the crew that actually influences the situation and events in a submarine 's compartments before and during an accident , prevents or , in the opposite case , promotes the advent and development of an accident situation , and determines the effectiveness of the personnel 's actions in recovering from the accident .