charge function description