castle analogy