Made changes for allocations