modified method to show coin in tableview