optimizing how the charTable is returned