Removed memory allocation