removed mdone and mspent