What was the purpose of the cave?