Added some documentation and example