some utils, jdoc