added more doxygen comments