a captain is for commanding a submarine