submarines are very complicated machines