bit more functionality and example in doc
doc