added code for charges

Please review the code I added