base implementation for #10
test for #10
update documents for #10
Merge pull request #19 from icoxfog417/issue10

implements Issue10