More generalized / simple example in docs