add advanced usage documentation #6