updated with link to post and added doxygen comments