added pet battle support