removed output borrowing