Adding implementation for coin return.