lib func implemented.
Merge pull request #2 from nobonobo/develop

lib func implemented.