Looking at war through a legal lens