added doxygen comments