building function built on the coast as a defense against invasion by military commander and the army