Using let instead of creating an object each time