you can avoid using 'new' - it doesn't need to be a pointer type, just allocate on the stack and let the stack delete it

this saves you a heap allocation