fixed example to auto generate docs