Update prototype
Update doc
Update prototype
Add small test/example