Moved kbestextractor into the chart