rewrite recharge