adding documentation
adding the example