added sentence rendering