cleaned up full working version
XRP total in working version