add interface
Merge pull request #4 from htoooth/master

add interface