5 stages of the castle