make some unneeded boxes borrows