reduced the number of objects created