fixed up doxygen a bit and added some more validation