 Since a submarine's bridge was very close to the water, their range of visual detection was quite limited.The best source proved to be the codebreakers of "B-Dienst" who had succeeded in deciphering the British Naval Cypher No.3, allowing the Germans to estimate where and when convoys could be expected.