slightly better doco, included basic example