more battle code.