further changes for maxcoin

does not work at this time!