modify the money class