add documentation method