added sentence levels feature