Modified chartable.h to look like original one.