support for headers printing and close
small code fix in parameters naming
new examples