code review, added Doxygen style comments