made a promise a type
Merge pull request #16 from buth/master

made a promise a type