added basic battle functionalit