added source example to documentation