new working update to allocation