modify Coin.class