I even meant outside of the loop. There is no point in creating these objects in each function call.