updated the documentation in the header