add docs to functions
patterns
docs
add news