Management of term and postterm pregnancy by