added battle controller