not using memory allocation on stat