trimmed code
trimmed code