Again doxygen please :)  also wrap function defintion