added charCode