add Online example in docs