 Possibly the earth ramparts were built first, then the rock wall added later to strengthen the defences.The wall itself was at first thick, with the landward face later built out to as much as near the entrance.To the right of the entrance passage there is a rectangular room built into the wall.