herd: add procedures, documented