work on start of battle code