added a reset button and set up more helpers for battle