addded doxygen comments