move comment to above function name, consider using doxygen style comment "///" in the header file instead