print_savings function added