apply all comments from corresponding PR: copyright, doxygen, rename to cooperation, probably volatile missing