Updated doc
Added code sample