changed gotCoin to field