262 which is similar to the modulator 162 of fig2 a using a mud or drilling motor such as the mud motor 210 provides the advantage of reducing the amount of rotations on the casing 108 in one embodiment the modulator 262 communicates with the transmission module 224 which is in communication with other components or elements of the bha 204 in an alternative embodiment the modulator 262 communicates directly with the other elements in the bha 204 including the rss mwd and or lwd assembly 225 through various means including wired or wireless such as electromagnetic or ultrasonic methods the scope of the present invention is not limited by the mean used for communication which includes but is not limited to transmission through wired methods or wireless methods which could include electromagnetic ultrasonic or other means or a combination thereof such a wired and wireless or ultrasonic and electromagnetic combined with wired communication positioning the mud motor 210 downhole relative to the modulator 262 is the present embodiment which limits signal attenuation and produces the higher data rate and depth capability referring now to fig3 the modulator 162 of fig2 a and modulator 262 of fig2 b are depicted in greater detail in each of the embodiments set forth herein the modulator are similar in operation accordingly even though the operation of one of the modulators is discussed in detail the operation and results are applicable to similar types of modulators shown in alternative embodiments the modulator 162 includes a stator 164 rotor 166 and turbine 167 the modulator 162 may be for example of the type described in u s pat no 5 517 464 already incorporated herein by reference in one embodiment the modulator.