add typd()
Merge pull request #275 from typd/master

add typd