Fixed code

Fixed line 236 making the code not work, Readied the getCoins() method.