more work on battle simulation