document endow command