Some theorems on extending automorphisms