added doxygen documentation to header file