finished documentation of basic example