removed an unneeded memory allocation on the heap