interface improvement
Merge pull request #77 from Yaliang/master

interface improvement