interface improvement
Merge pull request #49 from Yaliang/master

interface improvement