doc is not mandatory