implemented battery system