updated TD grammar