part 2 of borrowing K&R