adding rechargeable battery circuit