use doc string instead of comments
add reservoir sample problem