change docs to be more general