added documentation in the header