add type for the records

type: recharge|init|consume