the chambers reserved for the commander of the palace guard were located on the main floorrefreshingly close to the kitchens , gergen thoughtso they would be accessible to both his men and to the main doors of the keep .