New Chart-gen (tested)