to add __AllocateCapEvents