adding needs map to header