variable battperc created