a captain is for commanding a starship