in the center were temporary troop quarters and a small dining area , and along the perimeter of the trench was a small rampart that ran around the perimeter of the camp with another ditch system on the other side for added protection .