Fixed grammar bugs. Improved SDT