generation of coins