add comments for doxygen
make detailed comments for doxygen