Simplified code in Decimal