updated coin.cs slightly