updated example & docs