What was the function of Hadrian's Wall? Use detailed examples (forts, mile castles, turrets etc) in your answer. Can a comparison with frontier defences in Germany during the 2nd Century AD help solve the problem?