trimmed the stock output