trimmed the references