Deleted an undesirable const qualifier, and corrected a parameter name.