temp is now unused I think.