added validations for charge