changed operator<< to value() for money, main used as a debug tool