rechargeable battery working, still has bugs