added document example and refined some links