interface improvement
Merge pull request #18 from Yaliang/master

interface improvement