Added CHARGE code for testing.