Half way of implementing addcoin and clear coin for inventory.