Get doc method corrected