groundwork laid for twoif statements in charge function to perform validations