added the comments for doxygen documentation