 During the 18th century, the Bernese developed the castle into a large grain store.For this purpose, the individual buildings were connected and partially hollowed out.By this means storage for over 5,000 tonnes of wheat was provided.