doc trimmed