Always check for memory allocations