debug, doc addition