Documentation and example added