interface improvement
Merge pull request #48 from Yaliang/master

interface improvement